libextractor: fix compilation with gcc15
authorRosen Penev <[email protected]>
Fri, 17 Oct 2025 22:06:06 +0000 (15:06 -0700)
committerHannu Nyman <[email protected]>
Sat, 8 Nov 2025 19:30:23 +0000 (21:30 +0200)
GNU_LIBRARY is needed for a proper declaration of getopt.

Signed-off-by: Rosen Penev <[email protected]>
libs/libextractor/Makefile

index c298c0d1ae8cf32468602f402f08315edcb279cb..4e096ecc924c9f196b5af1e89574bba34026d7bd 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libextractor
 PKG_VERSION:=1.13
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 # ToDo:
 # - package missing optional dependencies: libexiv2, gsf, librpm, smf, tidy
@@ -62,6 +62,8 @@ CONFIGURE_ARGS += \
        --disable-rpath \
        --with$(if $(CONFIG_PACKAGE_libextractor-plugin-gstreamer),,out)-gstreamer
 
+TARGET_CFLAGS += -D__GNU_LIBRARY__
+
 define Package/libextractor
        SECTION:=libs
        CATEGORY:=Libraries